<?php

//防止恶意调用
if (!defined('IN_MOD'))
{
    die('Hacking attempt');
}
// 模块参数配置
/* 
** attrlist 后台列表关联数据配置 array(['关联模块',74,URL])
** searchhtml 后台列表搜索配置 block/72/description.html
** searchfield 后台列表搜索条件字段配置 array(['parameter_default','post_title'],['parameter','moretest1'])
** pname 前台模块参数字段名 array("imgtest"=>"图片参数","filetest"=>"文件参数")
** rpname 前台推荐参数字段名 array("testrec1"=>"推荐参数","testrec2"=>"推荐参数")
** ptitle 后台列表模块参数字段配置 array(['moretest1','参数1','120'],['moretest2','参数2','320'],['post_status','发布状态','80'])
** pvalue 后台列表模块参数值配置 array('moretest'=>array(0=>'否',1=>'是'),'post_excerpt'=>'￥{data}元')
** listdatahtml 后台列表模块数据HTML配置 block/72/listdatahtml.html
** listexphtml 后台列表模块扩展数据HTML配置 block/72/listexphtml.html
** contentexphtml 后台详情模块扩展数据HTML配置 block/72/contentexphtml.html
** columnpara 前台模块参数配置后台添加的栏目参数信息 feedback
** feedbackok 反馈模块配置 1
** parafieldpri 设置模块参数动态字段允许添加修改的字段权限，为空则无限制 array("parameter"=>["parameter","imgtype_imgtest"],"parameter_default"=>["field2"])
** 会员扩展商家功能配置 -------------------------------------------------
** supplier 供应商管理商家模块配置 在模块前加[supplier] 如：supplier1
** usersupplier 会员中心商家模块配置 在模块前加[usersupplier] 如：usersupplier1
** xcxsupplier 小程序会员商家模块配置 在模块前加[xcxsupplier] 如：xcxsupplier1
*/
//---------------------------------自定义区块
//---------------------------------自定义配置
hook_configmoduleparaother($configinfo,73,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['classtype','参数分类','180','status-text-green'],['type','参数类型','120'],['attrvar','参数变量','180','status-text-red'],['attrinfo','参数选项','320'],['condition','必填','50'],['recok','推荐','50'],['searchok','筛选','50'])));// 栏目参数
hook_configmoduleparaother($configinfo,125,
array("attrlist"=>array(['二级菜单',134]),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 供应商菜单
hook_configmoduleparaother($configinfo,134,
array("attrlist"=>array(['返回上层',125,'/portal/admin_article/index/category/125.html']),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 供应商子菜单
hook_configmoduleparaother($configinfo,106,
array("attrlist"=>array(['参数选项',132]),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>"","columnpara"=>"","listdatahtml"=>"","feedbackok"=>""));// 商品参数
hook_configmoduleparaother($configinfo,132,
array("attrlist"=>array(['返回上层',106,'/portal/admin_category/index.html?category=3']),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>"","columnpara"=>"","listdatahtml"=>"","feedbackok"=>""));// 商品参数选项
hook_configmoduleparaother($configinfo,162,
array("attrlist"=>array(),"searchhtml"=>"block/162/description.html","searchfield"=>array(['parameter','tplconfig']),"pname"=>"","rpname"=>"","ptitle"=>array(['columnid','栏目ID','120'],['tplconfig','配置目录','120'],['module','模块名','150'],['tpl','模板名','180'],['para','模块参数','280'])));// 栏目模块配置
//---------------------------------自定义栏目
hook_configmoduleparaother($configinfo,1,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 资讯动态
if($configinfo['shopok'] == 1)
{
	$shopptitle = array(['price','本店价','120','status-text-red'],['promotestatus','是否促销','120','status-text-yellow']);
	$shopsearchhtml = "shop/description.html";
	$shopsearchfield = array(['parameter_default','promotestatus'],['parameter_default','integralstatus']);
}
hook_configmoduleparaother($configinfo,3,
array("attrlist"=>array(),"searchhtml"=>$shopsearchhtml,"searchfield"=>$shopsearchfield,"pname"=>"","rpname"=>"","ptitle"=>$shopptitle));// 产品中心
hook_configmoduleparaother($configinfo,"supplier3",
array("attrlist"=>array(),"searchhtml"=>$shopsearchhtml,"searchfield"=>$shopsearchfield,"pname"=>"","rpname"=>"","ptitle"=>$shopptitle));// 商家产品中心
hook_configmoduleparaother($configinfo,2,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>array("viewurl"=>"案例地址"),"rpname"=>"","ptitle"=>""));// 案例管理
hook_configmoduleparaother($configinfo,37,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 招聘管理
hook_configmoduleparaother($configinfo,82,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 下载中心
//---------------------------------自定义单页
//---------------------------------自定义插件
hook_configmoduleparaother($configinfo,16,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['name','姓名','120'],['tel','电话','150'],['email','邮箱','200']),"columnpara"=>"feedback","feedbackok"=>1));// 在线留言
hook_configmoduleparaother($configinfo,95,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['name','姓名','120'],['tel','电话','150'],['email','邮箱','200']),"columnpara"=>"feedback","feedbackok"=>1));// 在线反馈
hook_configmoduleparaother($configinfo,109,
array("attrlist"=>array(),"searchhtml"=>"shop/ordersearch.html","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['shop_name','店铺名','150'],['contact_name','收货人','120'],['create_time','下单时间','180'],['orderprice','订单总金额','120'],['price','应付款金额','120','status-text-red'],['orderstatus','订单状态','150','status-text-yellow']),"pvalue"=>array('orderprice'=>'￥{data}元','price'=>'￥{data}元'),"columnpara"=>"","listdatahtml"=>"shop/listdatahtml.html","feedbackok"=>1));// 订单管理
hook_configmoduleparaother($configinfo,"supplier109",
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['contact_name','收货人','120'],['create_time','下单时间','180'],['orderprice','订单总金额','120'],['price','应付款金额','120','status-text-red'],['orderstatus','订单状态','150','status-text-yellow']),"pvalue"=>array('orderprice'=>'￥{data}元','price'=>'￥{data}元'),"columnpara"=>"","listdatahtml"=>"shop/listdatahtml.html","feedbackok"=>1));// 订单管理
hook_configmoduleparaother($configinfo,137,
array("attrlist"=>array(),"searchhtml"=>"shop/hdsearch.html","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['hdtype','活动类型','120','status-text-green'],['yhhdtype','优惠类型','150'],['tomoney','需要满足的金额','150'],['yhmoney','活动金额','180','status-text-red'],['datetype_endtime','过期时间','180']),"columnpara"=>"","listdatahtml"=>""));// 优惠促销
hook_configmoduleparaother($configinfo,136,
array("attrlist"=>array(),"searchhtml"=>"shop/hdsearch.html","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['hdtype','活动类型','120','status-text-green'],['tomoney','消费金额','150'],['yhmoney','优惠券面额','180','status-text-red'],['datetype_endtime','过期时间','180']),"columnpara"=>"","listdatahtml"=>""));// 优惠券
hook_configmoduleparaother($configinfo,"supplier137",
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['hdtype','活动类型','120','status-text-green'],['yhhdtype','优惠类型','150'],['tomoney','需要满足的金额','150'],['yhmoney','活动金额','180','status-text-red'],['datetype_endtime','过期时间','180']),"columnpara"=>"","listdatahtml"=>""));// 优惠促销
hook_configmoduleparaother($configinfo,"supplier136",
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['hdtype','活动类型','120','status-text-green'],['tomoney','消费金额','150'],['yhmoney','优惠券面额','180','status-text-red'],['datetype_endtime','过期时间','180']),"columnpara"=>"","listdatahtml"=>""));// 优惠券
hook_configmoduleparaother($configinfo,124,
array("attrlist"=>array(),"searchhtml"=>"gysrz/description.html","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['shop_name','店铺名','250','status-text-green'],['idcard','身份证号码','200'],['weixin','微信','150'],['mobile','手机号码','180'],['rzstatus','审核状态','120','status-text-yellow']),"pvalue"=>array('rzstatus'=>array(0=>'否',1=>'是')),"columnpara"=>"member/gysrz","listdatahtml"=>"","listexphtml"=>"gysrz/listexphtml.html","feedbackok"=>1));// 供应商入驻
hook_configmoduleparaother($configinfo,172,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['shop_logo','店铺Logo','120'],['name','姓名','250'],['weixin','微信','150'],['mobile','手机号码','180']),"columnpara"=>"member/gysrz","listdatahtml"=>"","listexphtml"=>"shoplist/listexphtml.html","feedbackok"=>1));// 供应商列表
hook_configmoduleparaother($configinfo,105,
array("attrlist"=>array(),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>array(['pp1','品牌字段1','120','status-text-red'],['pp2','品牌字段2','250','status-text-green'],['pp3','品牌字段3','150','status-text-yellow']),"columnpara"=>"","listdatahtml"=>"","feedbackok"=>""));// 品牌管理
//---------------------------------自定义扩展
hook_configmoduleparaother($configinfo,"supplier175",
array("attrlist"=>array(['二级菜单',178]),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 店铺分类
hook_configmoduleparaother($configinfo,"supplier178",
array("attrlist"=>array(['返回上层',175,'/portal/admin_article/index/category/175.html']),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 店铺子分类
//---------------------------------测试模块
hook_configmoduleparaother($configinfo,72,
array("attrlist"=>array(['关联模块',74]),"searchhtml"=>"block/72/description.html","searchfield"=>array(['parameter_default','post_title'],['parameter','moretest1']),"pname"=>array("imgtest"=>"图片参数","filetest"=>"文件参数"),"rpname"=>array("testrec1"=>"推荐参数","testrec2"=>"推荐参数"),"ptitle"=>array(['paranew1','小型整数参数','120','status-text-red'],['moretest1','参数1','120','status-text-red'],['moretest2','参数2','220','status-text-green'],['post_status','发布状态','80','status-text-yellow'],['post_source','作者','80','status-text-yellow'],['post_excerpt','描述','120','status-text-yellow']),"pvalue"=>array('paranew1'=>array(1=>'小型整数参数值为1',2=>'小型整数参数值为2'),'post_source'=>array(0=>'否',1=>'是'),'post_excerpt'=>'￥{data}元'),"listdatahtml"=>"block/72/listdatahtml.html","listexphtml"=>"block/72/listexphtml.html","contentexphtml"=>"block/72/contentexphtml.html","parafieldpri"=>array("parameter"=>["parameter","imgtype_imgtest","tintpara_paranew1",'filetype_filetest','textpara_jsontype_addinput','imgtype_otherimg','description','moretest1','moretest2','moretest3','moretest4','moretest5','more2test1','more2test2','more2test3','more2test4','more2test5','textpara_contenthsc1'])));// 扩展模块参数
hook_configmoduleparaother($configinfo,74,array("attrlist"=>array(['返回上层',72,'/portal/admin_article/index/category/72.html']),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 关联模块列表
hook_configmoduleparaother($configinfo,75,array("attrlist"=>array(['扩展参数',76]),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 扩展模块管理
hook_configmoduleparaother($configinfo,76,array("attrlist"=>array(['返回上层',75,'/portal/admin_article/index/category/75.html']),"searchhtml"=>"","searchfield"=>"","pname"=>"","rpname"=>"","ptitle"=>""));// 扩展参数管理
//---------------------------------自定义分类
//---------------------------------其它模块
?>